﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Bot.Domain.SmartTriggerConditions
{
    public class SmartTriggerConditionsDto : BaseDto
    {
        public SmartTriggerConditionsDto()
        {
        }
        
        [Required]        
        public int SmartTriggerId { get; set; }                 
        [Required]
        [MaxLength(1024)]        
        public string Variable { get; set; }  
        [Required]        
        public string Expression { get; set; }           
        [Required]
        [MaxLength(2048)]        
        public string Value { get; set; }   
        
    }
}
